﻿#ifdef WIN32
#pragma execution_character_set("utf-8")
#endif

#include <QApplication>
#include "mainWindow.h"
#include "fileUtils.h"
#include "myLogger.h"


int main(int argc, char* argv[]) {
    //初始化主窗口
    QApplication app(argc, argv);
    FileUtils::createDir("./logs");
    MyLogger::initLog("DEBUG", "./logs");
    //初始化主窗口
    MainWindow window;
    window.init();
    window.show();
    //结束欢迎屏
    return app.exec();
}
